package com.csk.zsk.compents.service;

import java.util.List;

import com.csk.zsk.compents.entity.Rating;

public interface RatingService {

	public void saveRating(Rating rating);

	public void deleteRating(String id);

	public Rating getRatingById(String id);

	public Rating findUniqueBy(String propertyName, Object value);

	public List<Rating> findRatingBy(String propertyName, Object value);
	
	public String getRatingAVG(String objid);
	
	public Rating getUserRating(String userid,String objid);
}
